#ifndef __PION_H__
#define __PION_H__

#include "Piece.h"

#include "PieceGL.h"
#include "PionGL.h"
class Pion : public Piece
{
	private:
		bool deplace;
		bool enPassant;
		static std::string nom;
	public:
		Pion(Echiquier*, Position, bool, bool = false);

	~Pion() ;
		void deplacement(const Position&) throw (std::invalid_argument);
		char rendu() const;
		void majDeplacements();
		void majAtk();
		const std::string& toString()const;

		virtual Piece* clone(Echiquier*) const;
};

#endif
